package com.yixin.hospital.entity.dto.req.drugdepositoryAuth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("库房权限请求体")
public class DrugDepositoryAuthReqDTO {
    @ApiModelProperty(value = "库房id", example = "1")
    @NotNull(message = "库房id不能为空")
    private Long drugDepositoryId;

    @ApiModelProperty(value = "职务id", example = "1")
    @NotNull(message = "职务id不能为空")
    private Long jobDutyId;

    @ApiModelProperty(value = "权限类型", example = "1")
    @NotNull(message = "权限类型不能为空")
    private Integer optType;

}
